import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.LinkedList;
import java.util.List;

public class utils {
    //读取所有行
    public static List<String> FilesUtil(String path) throws IOException {
        List<String> all_line = new LinkedList<>();
        return Files.readAllLines(Paths.get("C:\\csatest\\demo.txt"));
    }
}
